package com.example.entity;
import java.math.BigDecimal;
import java.util.List;

public class Orders {
    private int oid;
    private int uid;
    private int gid;
    private String createtime;
    private BigDecimal paymoney;
    private int paystatus;
    private String gname;

    @Override
    public String toString() {
        return "Orders{" +
                "oid=" + oid +
                ", uid=" + uid +
                ", gid=" + gid +
                ", createtime='" + createtime + '\'' +
                ", paymoney=" + paymoney +
                ", paystatus=" + paystatus +
                ", gname='" + gname + '\'' +
                ", ordersDetails=" + ordersDetails +
                '}';
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getCreatetime() {
        return createtime;
    }

    public String getGname() {
        return gname;
    }

    public void setGname(String gname) {
        this.gname = gname;
    }

    public List<OrdersDetail> ordersDetails;

    public int getUid() {
        return uid;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }



    public List<OrdersDetail> getOrdersDetails() {
        return ordersDetails;
    }

    public void setOrdersDetails(List<OrdersDetail> ordersDetails) {
        this.ordersDetails = ordersDetails;
    }

    public int getOid() {
        return oid;
    }

    public void setOid(int oid) {
        this.oid = oid;
    }
    public BigDecimal getPaymoney() {
        return paymoney;
    }

    public void setPaymoney(BigDecimal paymoney) {
        this.paymoney = paymoney;
    }

    public int getPaystatus() {
        return paystatus;
    }

    public void setPaystatus(int paystatus) {
        this.paystatus = paystatus;
    }
}
